<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>大棚数据大屏</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta http-equiv="Access-Control-Allow-Origin" content="*">
	<meta name="viewport"
		  content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="icon" href="favicon.ico">
	<link rel="stylesheet" href="layui/css/layui.css" media="all" />
	<link rel="stylesheet"
		  href="//at.alicdn.com/t/font_eolqem241z66flxr.css" media="all" />
	<link rel="stylesheet" href="css/main.css" media="all" />
</head>
<body class="main_body">
<div class="layui-layout layui-layout-admin">
	<!-- 顶部 -->
	<div class="layui-header header">
		<div class="layui-main">
			<a href="#" class="logo">大棚数据大屏</a>
			<!-- 天气信息 -->
			<div class="weather" pc>
				<div id="tp-weather-widget"></div>

			</div>
			<ul class="layui-nav top_menu">
				<li class="layui-nav-item" mobile><a href="javascript:;"
													 data-url="page/user/changePwd.html"><i
						class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i><cite>设置</cite></a>
				</li>
				<li class="layui-nav-item" mobile><a href="login.html"><i
						class="iconfont icon-loginout"></i> 退出</a></li>
				<li class="layui-nav-item" pc><a href="javascript:;"> <img
						src="images/logo.png" class="layui-circle" width="35" height="35">
					<cite id="adminName2">admin</cite>
				</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="login.html"><i class="iconfont icon-loginout"></i><cite>退出</cite></a>
						</dd>
					</dl></li>
			</ul>
		</div>
	</div>
	<!-- 左侧导航 -->
	<div class="layui-side layui-bg-black">
		<div class="user-photo">
			<a class="img" title="我的头像"><img src="images/logo.png"></a>
			<p>
				<span class="userName" id="adminName"></span>尊敬的 admin, 欢迎登录
			</p>
		</div>
		<div class="navBar layui-side-scroll"></div>
	</div>
	<!-- 右侧内容 -->
	<div class="layui-body layui-form" id="div1">
		<div class="layui-tab marg0" lay-filter="bodyTab" id="div2">
			<ul class="layui-tab-title top_tab">
				<li class="layui-this" lay-id=""><i
						class="iconfont icon-computer"></i> <cite>后台首页</cite></li>
			</ul>
			<div class="layui-tab-content clildFrame"
				 style="background-color: #8f8f90;width: 100%;" id="div3" >
				<div class="layui-tab-item layui-show" style="width: 100%;" id="div5">
					<iframe src="../index.html" style="width: 100%;" id="div6"></iframe>
				</div>
			</div>
		</div>
	</div>
</div>

<!-- 移动导航 -->
<div class="site-tree-mobile layui-hide">
	<i class="layui-icon">&#xe602;</i>
</div>
<div class="site-mobile-shade"></div>
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="layui2.2.6/layui.all.js"></script>
<script type="text/javascript" src="layui/layui.js"></script>
<script type="text/javascript" src="js/nav.js"></script>
<script type="text/javascript" src="js/leftNav.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script>

	var height= $(window).height();
	console.log(height);
	$("#div1").css("height",height-60+"px");
	$("#div2").css("height",height-60+"px");
	$("#div3").css("height",height-60+"px");
	$("#div5").css("height",height-60+"px");
	$("#div6").css("height",height-60+"px");
</script>
</body>
</html>